<?php
//$this->breadcrumbs=array(
//	UserModule::t('Profile Fields')=>array('admin'),
//	UserModule::t($model->title),
//);
$this->mainTitle = UserModule::t('View Profile Field #');
?>
<h1><?php echo $this->mainTitle.$model->varname; ?></h1>

<?php 
$this->menu = array(
    array('label' => UserModule::t('Manage User'), 'url' => array('/user/admin')),
    array('label' => UserModule::t('Manage Profile Field'), 'url' => array('admin')),
    array('label' => UserModule::t('Create Profile Field'), 'url' => array('create')),
    array('label' => UserModule::t('Update Profile Field'), 'url' => array('update','id'=>$model->id)),
    array('label' => UserModule::t('Delete Profile Field'), 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => UserModule::t('Are you sure to delete this item?'))),
);
?>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'varname',
		'title',
		'field_type',
		'field_size',
		'field_size_min',
		'required',
		'match',
		'range',
		'error_message',
		'other_validator',
		'widget',
		'widgetparams',
		'default',
		'position',
		'visible',
	),
)); ?>
